package com.atguigu.staservice.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author fxy
 * @date 2022/5/16 9:22
 */
@FeignClient(value = "service-ucenter")
@Component
public interface UcenterClient {

    //查询某一天注册人数
    @GetMapping("/ucenterservice/member/countRegister/{day}")
    public Integer countRegister(@PathVariable("day") String day);

}
